package com.bjpowernode.servlets;

import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class SomeServlet extends HttpServlet {
	protected void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		System.out.println("SomeServlet");
		// request.getRequestDispatcher("/other").forward(request, response);
		// response.sendRedirect("/26-relativePath3/other");
		response.sendRedirect(request.getContextPath() + "/other");
	}

}
